<?php
/**
 * Created by PhpStorm.
 * User: 刚
 * Date: 2017/7/29
 * Time: 13:54
 */
namespace app\models;

use Yii;
use yii\base\Model;

class NewHospital extends Model{
    public $name;
    public $model;
    public $title;
    public $description;
    public $owner;
    public $attributes;
    public $created_at;
    public $Post;
    public $header = "我是一个头";

    public function rules()
    {
        return [
            [['name'],'required'],
        ];
    }

    public function attributeLabels()
    {
        return [
          'name'=>'医院',
        ];
    }


}